package com.shujia.wyh.day25;

public class MyStopTread extends Thread{
    @Override
    public void run() {
        System.out.println("我开始睡觉。。。。");
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("睡醒了。。。");
    }
}
